package com.glodon.paas.consumer.service.bean;



public class ShareAPIInfo extends APIInfoBase {
	
	public ShareAPIInfo(String apitype){
		if("internal".equalsIgnoreCase(apitype)){
			baseURI = "/document/api/internal/share";
		}
		else{
			baseURI = "/document/api/share";
		}
	    apis.add("-------------------------------------Share File API Test-----------------------------------------------------");
	    apis.add("[GET]/incoming?meta");
	    apis.add("[GET]/outcoming?meta");
	    apis.add("[GET]/{fileId}?[meta | child | sharer ] &type=id ");
	    apis.add("[DELETE]/{fileId}?type=id[&sharer={sharer1,sharer2,sharer3.....}] ");
	    apis.add("[POST]/{fileId}?type=id[&sharer={sharer1,sharer2...}][&email={email1,email2...}[&privilege={read/write}]]");
	}
}
